package com.ibatis4J.framework.dal.transaction.annotation;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * 使用snowflake生成全局唯一主键
 * 
 * @author liuwenya
 *
 */
@Target({METHOD,FIELD})
@Retention(RUNTIME)
public @interface GenerateSystemId {

	//默认value
	 boolean value() default true;
}
